import request from '@/utils/request'

// 查询就诊管理列表
export function listDoctorConsultation(query) {
  return request({
    url: '/manage/doctorConsultation/list',
    method: 'get',
    params: query
  })
}

// 查询就诊管理详细
export function getDoctorConsultation(id) {
  return request({
    url: '/manage/doctorConsultation/' + id,
    method: 'get'
  })
}

// 新增就诊管理
export function addDoctorConsultation(data) {
  return request({
    url: '/manage/doctorConsultation',
    method: 'post',
    data: data
  })
}

// 修改就诊管理
export function updateDoctorConsultation(data) {
  return request({
    url: '/manage/doctorConsultation',
    method: 'put',
    data: data
  })
}

// 删除就诊管理
export function delDoctorConsultation(id) {
  return request({
    url: '/manage/doctorConsultation/' + id,
    method: 'delete'
  })
}
